<template>
	<button @click="onClick" class="global-button" type="default">{{title}}</button>
</template>

<script>
	export default {
		name: "SSButton",
		props: {
			title: {
				type: String,
				default: '',

			}
		},
		data() {
			return {

			};
		},
		methods: {
			onClick() {
				this.$emit('click')
			}
		}
	}
</script>

<style lang="less" scoped>
	.global-button {
		padding: 0;
		width: 654upx;
		height: 96upx;
		line-height: 96upx;
		background: #2AABE2;
		color: #fff;
		font-size: 24upx;
		font-weight: 500;
		border-radius: 8upx;
		border-color: #2AABE2;
		&:active {
			filter: brightness(0.9);
		}
	}
</style>
